package org.lc.solon.cmd.util;

import java.lang.annotation.Annotation;
import java.lang.reflect.AnnotatedElement;

public class AnnoUtil {
    public static <T extends Annotation> T findAnno(AnnotatedElement element, Class<T> annoClass) {
        // todo 递归查找
        return element.getAnnotation(annoClass);
    }
}
